﻿@{string action = Request.RequestContext.RouteData.Values["action"].ToString();}
<ul class="nav nav-tabs bar_tabs sme-tabs" role="tablist">
    @if (action.ToUpper() == "LOANBYPRODUCT")
    {
        <li id="cm-tc-tc-tab" role="presentation" class="active">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByProduct, "LoanByProduct", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li id="cm-tc-tc-tab" role="presentation" class="">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByProduct, "LoanByProduct", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "LOANBYPRODUCTPROG")
    {
        <li id="cm-tc-nc-tab" role="presentation" class="active">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByProductProg, "LoanByProductProg", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li id="cm-tc-nc-tab" role="presentation" class="">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByProductProg, "LoanByProductProg", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    @if (action.ToUpper() == "LOANBYCTUUDAI")
    {
        <li id="cm-tc-nc-tab" role="presentation" class="active">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByCtUuDai, "LoanByCtUuDai", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
    else
    {
        <li id="cm-tc-nc-tab" role="presentation" class="">
            @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.LoanByCtUuDai, "LoanByCtUuDai", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
        </li>
    }
</ul>